/**
 * Company : SIANGKLOM.
 * Created By : Chatree Siangklom
 * Created On : Sep 23, 2013  3:50:05 PM 
 * e-Mail : dr_chatree@hotmail.com
 * Mobile Phone : (+66) 087-921-5115
 * Package Name : com.tis.database.services.impl
 * File Name : ServicesImpl.java
 * TODO
 */
package com.tis.database.services.impl;

import java.math.BigDecimal;

import org.hibernate.HibernateException;
import org.hibernate.type.TrueFalseType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.tis.database.dao.ServicesDao;
import com.tis.database.services.IServices;

/**
 * @author Chatree Siangklom of Administrator
 * Date =Sep 23, 2013 : 3:50:05 PM 
 * CreateBy=Chatree Siangklom
 * TODO
 */
@Service
@Transactional(readOnly=true)
public class ServicesImpl implements IServices {

private static final Logger logging = LoggerFactory.getLogger(ServicesImpl.class);

	@Autowired
	private ServicesDao servicesDao;

	/** (Javadoc)
	 * @see com.tis.database.services.IServices#SeqNext()
	 * Date =Sep 23, 2013 : 3:50:11 PM 
	 * CreateBy=Chatree Siangklom
	 * TODO
	 */
	@Override
	public BigDecimal SeqNext() throws HibernateException, Exception {

		return servicesDao.SeqNext();
	}
}
